<template>
  <div id="a">
    <ul>
      <li><router-link to="/all" >纸类</router-link></li>
      <li><router-link to="/before_fk">办公文具</router-link></li>
      <li><router-link to="/before_fh">文件管理</router-link></li>
      <li><router-link to="/before_sh">便签</router-link></li>
      <li><router-link to="/after_sh">计算器</router-link></li>
    </ul>
    <img src="./assets/imgs/banner_1.png" alt="">
    <router-view></router-view>

  </div>
</template>

<script>
  import $ from 'jquery'
export default {

  name: 'App',
  mounted(){
    $("img").css("width","100%")
  }
}
</script>

<style scoped>
#a {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}
  .router-link-active{
    color:red;
  }
  #a ul{
    display: flex;
    display:-webkit-flex;
    -webkit-padding-start: 0px;
  }
  #a ul li{
    list-style: none;
    flex-grow: 1;
  }
#a ul li a{
  text-decoration: none;
}
</style>

<style>
  @import "assets/css/style.css";
</style>
